MailPoet\Services\Bridge\API A

Total Complexity 72
Dependencies 3
Dependents 6
Total lines 437
Lines of code 301
Logical lines of code 160
Comment lines 29
Methods 23
Properties 12

Methods 23

Method Rating Maintainability Complexity Lines of code
getTranslatedErrorMessage()
A
46 16 36
verifyAuthorizedSenderDomain()
A
48 8 32
createAuthorizedSenderDomain()
S
50 6 26
createAuthorizedEmailAddress()
S
53 5 21
checkKey()
S
51 4 27
sendMessages()
S
51 4 26
getAuthorizedSenderDomains()
S
58 3 17
updateSubscriberCount()
S
57 3 17
logCurlError()
S
65 4 8
getAuthorizedEmailAddresses()
S
62 3 12
request()
S
60 2 13
__construct()
S
66 2 9
checkBounces()
S
64 2 10
checkMSSKey()
S
80 1 3
setKey()
S
81 1 3
getKey()
S
82 1 3
setCurlHandle()
S
81 1 3
auth()
S
79 1 3
logCurlInformation()
S
71 1 6
checkPremiumKey()
S
80 1 3
logKeyCheckError()
S
67 1 8
logInvalidDataFormat()
S
68 1 7
createErrorResponse()
S
67 1 8